package com.ude.pim.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author yb
 * @since 2023-08-25
 */
@Getter
@Setter
@TableName("pim_case_sub_question")
public class CaseSubQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    /**
     * 专案子流程id
     */
    @TableField("case_sub_id")
    private Long caseSubId;

    /**
     * 问题标题
     */
    @TableField("title")
    private String title;

    /**
     * 问题详情
     */
    @TableField("content")
    private String content;

    /**
     * 父级id，如果不为空证明他是问题的回答
     */
    @TableField("parent_id")
    private Long parentId;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    @TableField("create_user")
    private Long createUser;
}
